
import Relay from "react-relay";
export default class likeStyleNoByStyleNoMutation extends Relay.Mutation {

    static fragments = {};

    getMutation() {
        return Relay.QL`mutation { likeStyleNoByStyleNo }`;
    }

    getVariables() {
        return {
            argsInput: {
                enterpriseId: this.props.enterpriseId,
                styleNo: this.props.styleNo,
            }
        };
    }

    getFatQuery() {
        return Relay.QL`fragment on likeStyleNoByStyleNoPayload  {
            likeStyleNoByStyleNo {
                errorCode
                value
                totalResult
                id
                styleNoOrderList 
            }
        }`;
    }

    getConfigs() {
        return [{
            type: 'REQUIRED_CHILDREN',
            children: [Relay.QL`
               fragment on likeStyleNoByStyleNoPayload  {
                    likeStyleNoByStyleNo {
                        errorCode
                        value
                        totalResult
                        id
                        styleNoOrderList 
                    }
                 }
            `]
        }];
    }

}
